* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

body {
	font-family: Arial, sans-serif;
	background: #f5f5f5;
}

/* 顶部导航盒子 */
.nav-box {
	height: 70px;
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 1rem 2rem;
	background-color: rgb(246 249 254);
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.logo {
	display: flex;
	align-items: center;
	gap: 10px;
}

.logo img {
	width: 30px;
	height: 30px;
}

.logo h1 {
	font-size: 18px;
	color: #333;
}

/* 内容盒子 */
.content-box {
	background: white;
	margin: 1px 0;
	padding: 10px 20px;
	display: flex;
	justify-content: space-between;
	align-items: center;
	border-bottom: 1px solid #eee;
}

.breadcrumb {
	color: #666;
	font-size: 14px;
}

.back-btn {
	color: #666;
	text-decoration: none;
	font-size: 14px;
}

/* 主要内容区域 */
.main-content {
	position: fixed;
	top: 102px;
	left: 0;
	right: 0;
	bottom: 0;
	padding: 0;
	background: #f5f5f5;
}

/* 自定义滚动条样式 */
.main-content::-webkit-scrollbar {
	width: 8px;
}

.main-content::-webkit-scrollbar-track {
	background: #f5f5f5;
}

.main-content::-webkit-scrollbar-thumb {
	background: #ddd;
	border-radius: 4px;
}

.main-content::-webkit-scrollbar-thumb:hover {
	background: #ccc;
}

/* 响应式布局 */
@media (max-width: 600px) {
	.register-form {
		padding: 1.5rem;
	}

	.button-group {
		flex-direction: column;
	}

	.btn {
		width: 100%;
	}
}

/* 表单样式 */
.form-wrapper {
	height: 100%;
	padding: 20px;
	overflow: hidden;
}

.form-container {
	background: white;
	padding: 30px;
	border-radius: 4px;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
	width: 100%;
	max-width: 500px;
	margin: 0 auto;
	max-height: calc(100vh - 142px);
	overflow-y: auto;
}

.form-container::-webkit-scrollbar {
	width: 8px;
}

.form-container::-webkit-scrollbar-track {
	background: #f5f5f5;
}

.form-container::-webkit-scrollbar-thumb {
	background: #ddd;
	border-radius: 4px;
}

.form-container::-webkit-scrollbar-thumb:hover {
	background: #ccc;
}

.form-group {
	margin-bottom: 20px;
}

.form-group label {
	display: block;
	margin-bottom: 8px;
	color: #333;
	font-size: 14px;
}

.form-group input,
.form-group select {
	width: 100%;
	padding: 8px 12px;
	border: 1px solid #ddd;
	border-radius: 4px;
	font-size: 14px;
	color: #333;
}

.form-group input::placeholder {
	color: #999;
}

.select-wrapper {
	position: relative;
}

.select-wrapper::after {
	content: '';
	position: absolute;
	right: 12px;
	top: 50%;
	transform: translateY(-50%);
	border-left: 5px solid transparent;
	border-right: 5px solid transparent;
	border-top: 5px solid #666;
	pointer-events: none;
}

.form-group select {
	appearance: none;
	padding-right: 30px;
	background-color: white;
	cursor: pointer;
}

.form-buttons {
	display: flex;
	gap: 12px;
	margin-top: 30px;
}

.form-buttons button {
	padding: 8px 20px;
	border: none;
	border-radius: 4px;
	font-size: 14px;
	cursor: pointer;
	transition: background-color 0.2s;
}

.btn-save {
	background: #000;
	color: white;
}

.btn-cancel,
.btn-return {
	background: #f5f5f5;
	color: #666;
}

.btn-save:hover {
	background: #333;
}

.btn-cancel:hover,
.btn-return:hover {
	background: #e5e5e5;
}